/*
AlliedBridge Content Management System
Copyright (C) 2006 AlliedBridge

This program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the
Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.volume4.alliedbridge.model.person;

import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class MemberAdmin extends HttpServlet {

	public String DRIVER, URL, USER, PASS;
	public String app_root,action,insert_table,mem_status,mem_number,first_name,last_name,area_represented,age,sex,height,waist,chest,
	eye_colour,hair_color,shirt_dress_size,shoe_size,modeling_school,kidscupYesNo,
	teencupYesNo,opencupYesNo,best_mc,banner1,banner1_alt,banner1_link,banner2,
	banner2_alt,banner2_link,banner3,banner3_alt,banner3_link,img,img_alt;

	public void init() throws ServletException {
		ServletContext context = getServletContext();
		DRIVER = context.getInitParameter("DRIVER");
		URL = context.getInitParameter("URL");
		USER = context.getInitParameter("USER");
		PASS = context.getInitParameter("PASS");
	}

	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		response.setContentType("text/html");			
			
			if(action.equalsIgnoreCase("activate")) {
				
			} else if(action.equalsIgnoreCase("de-activate")) {
				
			} else if(action.equalsIgnoreCase("view")) {
				
			} else if(action.equalsIgnoreCase("update")) {				
				
			} else {
				
			}		
	}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		doGet(request, response);
	}
}